<?php
/**
 * @category 	index.php
 * @author 		Sung Hoon, Cho (akdddnet@gmail.com)
 * @since		2011. 4. 8.
 * @license		BSD License
 * @version		0.1
 */

 setlocale(LC_TIME, "ko_KR"); 
 echo strftime("%a %A");
$datetime1 = new DateTime();
$datetime2 = new DateTime();
$interval = $datetime1->diff($datetime2);
print_r($interval);